package org.suk.dp.abstractFactory.dao;

import org.suk.dp.abstractFactory.model.User;

/**
 * Description: User<br/>
 * @version V1.0  2017/6/21 9:05  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public interface UserDao {
    /**
     * 新增
     * @param user
     */
    void insert(User user);
    /**
     * 查询
     * @param id
     * @return
     */
    User query(int id);
}
